<script setup lang="ts">

import {NIcon} from 'naive-ui'
import icon from "@/utils/icons.ts";

const props = defineProps({
  ...NIcon.props,
  component: String,
});
</script>

<template>
  <n-icon v-bind="props" :component="icon[props.component]"/>
</template>

<style scoped lang="scss">

</style>
